package com.hongdee.crm.task.entity;

import com.hongdee.annotation.ExcelData;
import com.hongdee.base.entity.BaseEntity;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmTask
 * 类  型: TCrmTask
 * 描  述: 登录相关事项
 * 路  径:com.hongdee.crm.task.entity
 * 作  者:liuze
 * 日  期:2017/2/28 09:03
 */
@Entity
@Table(name = "T_CRM_TASK_LOG")
public class TCrmTaskLog extends BaseEntity{

    @Column(name = "method_name", length = 200, columnDefinition = "VARCHAR(200) COMMENT '方法名'")
    private String methodName;

    @Column(name = "class_path",length = 500,columnDefinition = "VARCHAR(500) COMMENT '类路径'")
    private String classPath;

    @Column(name = "start_time",length = 22,columnDefinition = "BIGINT COMMENT '执行开始时间'")
    private Long startTime;

    @Column(name = "end_time",length = 22,columnDefinition = "BIGINT COMMENT '执行结束时间'")
    private long endTime;

    @Column(name = "result",length = 32,columnDefinition = "VARCHAR(32) COMMENT '返回结果'")
    private String result;

    @Column(name = "ex_message",length = 1024,columnDefinition = "VARCHAR(1024) COMMENT '异常信息'")
    private String exMessage;

    @Column(name = "method_comment",length = 500,columnDefinition = "VARCHAR(500) COMMENT '方法描述信息'")
    private String methodComment;

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getClassPath() {
        return classPath;
    }

    public void setClassPath(String classPath) {
        this.classPath = classPath;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getExMessage() {
        return exMessage;
    }

    public void setExMessage(String exMessage) {
        this.exMessage = exMessage;
    }

    public String getMethodComment() {
        return methodComment;
    }

    public void setMethodComment(String methodComment) {
        this.methodComment = methodComment;
    }
}
